﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace Protocolo.Exception
{

    [Serializable]
    public class ErrorException : ApplicationException
    {
        public ErrorException()
            : base("Error de conexion")
        {
            // Add implementation.
        }
        public ErrorException(string message)
            : base(message)
        {
            // Add implementation.
        }
        public ErrorException(string message, System.Exception inner)
            : base(message, inner)
        {
            // Add implementation.
        }
        // This constructor is needed for serialization.
        protected ErrorException(SerializationInfo info, StreamingContext context)
        {
            // Add implementation.
        }
    }
}
